From 60c59f58765ae941f70212d3243e2bfadfec9906 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 23 Mar 2017 16:06:28 +0000 Subject: [PATCH] arm/mm: remove unused p2m_refcount in page_info The code which used that field has been deleted. Found by code inspection. Signed-off-by: Wei Liu Reviewed-by: Stefano Stabellini --- xen/include/asm-arm/mm.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h index 60ccbf3769..4892155596 100644 --- a/xen/include/asm-arm/mm.h +++ b/xen/include/asm-arm/mm.h @@ -32,12 +32,6 @@ struct page_info struct { /* Type reference count and various PGT_xxx flags and fields. */ unsigned long type_info; - /* - * Reference count for page table used in the P2M code. - * The counter is protected by the p2m->lock of the - * associated domain. - */ - unsigned long p2m_refcount; } inuse; /* Page is on a free list: ((count_info & PGC_count_mask) == 0). */ struct { -- 2.30.2